#pragma once
#include "BasicFunction.h"
using namespace std;

// CSearchImage dialog

class CSearchImage : public CDialog
{
	DECLARE_DYNAMIC(CSearchImage)

public:
	CSearchImage(CWnd* pParent = NULL);   // standard constructor
	virtual ~CSearchImage();
	BOOL Create();
// Dialog Data
	enum { IDD = IDD_KEYWORDSEARCH };

	CWnd*	dialogparent;
	int				dialogid;

	CBasicFunction bf;
	string		querytext;
	vector<string>	queryresult;
	vector<string>	querylist;

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedKeywordsearchImagequery();
	afx_msg void OnLbnSelchangeKeywordsearchResults();
	afx_msg void OnBnClickedKeywordsearchSavetofolder();
};
